<%@ Page Language="C#" AutoEventWireup="true" CodeFile="jobexpired.aspx.cs" Inherits="Recruiters_jobexpired" %>

<%@ Register Src="rcLeft.ascx" TagName="rcLeft" TagPrefix="uc3" %>
<%@ Register Src="rcBottom.ascx" TagName="rcBottom" TagPrefix="uc8" %>
<%@ Register Src="rcMenu.ascx" TagName="rcMenu" TagPrefix="uc7" %>
<%@ Register Src="rcBanner.ascx" TagName="rcBanner" TagPrefix="uc6" %>
<%@ Register Src="rcTop.ascx" TagName="rcTop" TagPrefix="uc1" %>
<%@ Register Src="rcRight.ascx" TagName="rcRight" TagPrefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>::Job Expired</title>
    <LINK href="../css/newstyle.css" rel=stylesheet>
    <LINK href="../css/style.css" rel=stylesheet>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
</head>
<body topmargin=0 leftmargin=0 bottommargin=0 rightmargin=0 style="font-size: 12pt">
    <form id="form1" runat="server">
    <div>
        <table align="center" style="width: 770px" title="Job Manager">
            <tr>
                <td valign="top" colspan="4">
                    <uc1:rcTop ID="RcvTop1" runat="server" />
                </td>
            </tr>
            <tr>
                 
                <td align="center" colspan="4" valign="top">
                    <uc6:rcBanner ID="rcBanner1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="4" style="height: 21px" valign="top">
                    <uc7:rcMenu ID="rcMenu1" runat="server" />
                </td>
            </tr>
            <tr>
               
                <td style="width: 3px; height: 351px">
                </td>
                <td style="width: 100%" valign="top">
                    <table border="0" style="width: 100%">
                        <tr>
                            <td align="center" style="height: 12px; text-align: left" valign="top">
                                <table style="width: 100%">
                                    <tr>
                                        <td style="width: 340px; height: 16px">
                                            <b>
                                                <asp:Image ID="Image1" runat="server" ImageUrl="~/Icons/titlenote.gif" />
                                                <asp:Literal ID="litTitle" runat="server" Text="Job Manager"></asp:Literal>&nbsp;</b></td>
                                    </tr>
                                </table>
                                Note: Click on JobID to preview job details, Job Title to edit job and Job No to see
                                    job responses</td>
                            <td align="right">
                                <strong>Folder:</strong>
                                <asp:DropDownList ID="ddlFolder" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlFolder_SelectedIndexChanged"
                                    Width="119px">
                                </asp:DropDownList><asp:Button ID="btnPrint" runat="server" Text="Print" Width="57px" />
                                </td>
                        </tr>
                        <tr>
                            <td align="left" colspan="2">
                                <hr size="1" />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="text-align: left" valign="top">
                                <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                    OnSorting="GridView1_Sorting" PageSize="20" Width="100%" OnRowUpdating="GridView1_RowUpdating" OnRowCreated="GridView1_RowCreated" OnRowDataBound="GridView1_RowDataBound">
                                    <PagerSettings Mode="NumericFirstLast" />
                                    <Columns>
                                        <asp:TemplateField HeaderText="#">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chkJobID" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:HyperLinkField DataNavigateUrlFields="JobID" DataNavigateUrlFormatString="JobDetails.aspx?JobID={0}"
                                            DataTextField="JobID" HeaderText="Job ID" SortExpression="JobID" />
                                        <asp:HyperLinkField DataNavigateUrlFields="JobID" DataNavigateUrlFormatString="PostJob.aspx?JobID={0}"
                                            DataTextField="JobTitle" HeaderText="Job Title" SortExpression="JobTitle" />
                                        <asp:HyperLinkField DataNavigateUrlFields="JobID" DataNavigateUrlFormatString="JobResponses.aspx?JobID={0}"
                                            DataTextField="JobNo" HeaderText="Job No">
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                        </asp:HyperLinkField>
                                        <asp:BoundField DataField="JobCategoryName" HeaderText="Job Category" />
                                        <asp:BoundField DataField="PostDate" HeaderText="Post Date" SortExpression="PostedDate">
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="CloseDate" HeaderText="Close Date" SortExpression="ClosedDate">
                                            <ItemStyle HorizontalAlign="Center" />
                                            <HeaderStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="RequiredNumber" HeaderText="Number">
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="Status" HeaderText="Expiry" />
                                        <asp:TemplateField>
                                            <ItemTemplate>
                                                <asp:Button ID="btnActivate" runat="server" CommandName="Update" Text="Activate"
                                                    ToolTip="This job is not expiry, click here to activate it" Width="55px" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Folder Name">
                                            <ItemTemplate>
                                                <asp:DropDownList ID="ddlFolder" runat="server" Width="105px">
                                                </asp:DropDownList>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="FolderID" ShowHeader="False" />
                                    </Columns>
                                </asp:GridView>
                                &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</td>
                        </tr>
                        <tr>
                            <td align="center" style="text-align: left" valign="top" width="70%">
                                &nbsp;<asp:Button ID="btnDelete" runat="server" Text="Delete" OnClick="btnDelete_Click" />&nbsp;&nbsp;<asp:Button
                                    ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="Update Folder"
                                    Width="91px" />
                                &nbsp;
                                &nbsp;
                                &nbsp;<asp:Literal ID="literalTotalText" runat="server" Text="Total jobs: "></asp:Literal>
                                <asp:Literal ID="literalTotal" runat="server" Text="0"></asp:Literal>
                                <asp:Literal ID="literalRecords" runat="server"></asp:Literal>&nbsp;
                                <asp:Literal ID="literalPageText" runat="server" Text=" - Display page: "></asp:Literal>
                                <asp:Literal ID="literalCurrentPage" runat="server" Text="1"></asp:Literal>
                                <asp:Literal ID="literalOfText" runat="server" Text="of"></asp:Literal>
                                <asp:Literal ID="literalPages" runat="server"></asp:Literal>
                            </td>
                            <td style="text-align: right" width="30%">
                                <asp:Panel ID="panelNavigation" runat="server">
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" style="text-align: center" valign="top">
                                <b>
                                    <asp:Literal ID="litError" runat="server"></asp:Literal></b></td>
                        </tr>
                    </table>
                </td>
                <td style="width: 1px; height: 351px" valign="top">
                </td>
            </tr>
            <tr>
              <td align="center" colspan="4">
                  <uc8:rcBottom ID="RcvBottom1" runat="server" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>



